<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    table {
      border-collapse: collapse;
    }

    table tr td {
      border: 1px solid red;
    }
    .box {
      width: 300px;
      height: 300px;
      background: url(../img/mi.webp) no-repeat center top;
      filter: hue-rotate(180deg);
    }
  </style>
</head>
<body>
  <div class="box">

  </div>
  <script>
    document.write("<table>")
    for (let i = 0; i < 9; i++) {
      
      document.write("<tr>")
      for (let m = 0; m <= i; m++) {
        var a = m+1
        var b = i + 1
        var result = a * b
        document.write(`<td>${a} * ${b} = ${result} </td>`)
      }
      document.write("</tr>")
    }
    document.write("</table>")


    for (let i = 0; i < 10; i++) {
      if (i == 2) {
        break
      }
      document.write(`<div>${i}</div>`)
    }
  </script>
</body>
</html>